//
//  OrderInfoView.h
//  AppointmentForCar
//
//  Created by TheMacBook on 2016/11/8.
//  Copyright © 2016年 Herron. All rights reserved.
//

#import <UIKit/UIKit.h>

@class OrderHandleView,CallCarModel;

@protocol OrderInfoViewDelegate <NSObject>

- (void)remove;

@end

@interface OrderInfoView : UIView

@property (nonatomic, strong) CallCarModel * model;
@property (nonatomic, weak) UIView * displayView;
@property (nonatomic, weak) id <OrderInfoViewDelegate> delegate;

- (void)removeFromToWindows;

@end

@interface OrderHeaderView : UIView

@property (nonatomic, copy) NSString *distance;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *avatarUrl;

@end


@protocol OrderHandleViewDelegate <NSObject>

- (void)clickMap:(OrderHandleView *)handle;
- (void)clickWords:(OrderHandleView *)handle;

@end

@interface OrderHandleView : UIView

@property (nonatomic , weak) id<OrderHandleViewDelegate> delegate;

@end
